FROM centos
# 设定时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN mkdir /home/dotnet
RUN mkdir /home/dotnet/app
RUN mkdir /home/dotnet/app/Plugin
COPY . /home/dotnet/app
WORKDIR /home/dotnet/app
CMD ["echo", "$PWD"]
ENV PATH="/home/dotnet/app:${PATH}"
EXPOSE 8085
RUN chmod +x *
CMD ["bash","./run.sh"]